package com.peng._04mybatis.pojo.entity;

import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.Date;

/**
 * Comment评论类
 * @Author peng
 * @Date 2024-04-17 17:01
 */
@Data
@Repository
public class Comment {
    private Long id;
    private String content;
    private Date created;
    private Long userId;
    private Long weiboId;

    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", userId=" + userId +
                ", weiboId=" + weiboId +
                '}';
    }
}
